| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | var assert = require('chai').assert, |
||
| 21 | it('Build', function(){ |
||
| 22 | var coverage = GedcomX.Coverage() |
||
| 23 | .setSpatial(GedcomX.PlaceReference().setOriginal('A Place')) |
||
| 24 | .setTemporal(GedcomX.Date().setFormal('+2015-01-03')) |
||
| 25 | .setRecordType('http://gedcomx.org/Collection'); |
||
| 26 | assert.equal(coverage.getSpatial().getOriginal(), 'A Place'); |
||
| 27 | assert.equal(coverage.getTemporal().getFormal(), '+2015-01-03'); |
||
| 28 | assert.equal(coverage.getRecordType(), 'http://gedcomx.org/Collection'); |
||
| 29 | }); |
||
| 30 | |||
| 44 | }); |